package cn.pxxy.domain;

public class Student {
    private String sno;
    private String college;
    private String major;

    public Student() {
    }

    public Student(String sno, String college, String major) {
        this.sno = sno;
        this.college = college;
        this.major = major;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sno='" + sno + '\'' +
                ", college='" + college + '\'' +
                ", major='" + major + '\'' +
                '}';
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }
}
